//专栏列表
export interface ColumnProps {
    id: number
    title: string //标题
    avater: string //头像
    description: string //描述
}
//专栏列表数据
export const testData: ColumnProps[] = [
    {
        id: 1,
        title: '文章1',
        avater: 'https://tse3-mm.cn.bing.net/th/id/OIP-C.0QDeII4f_UsySlEQWwLLwAHaHf?w=199&h=201&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        description: '文章内容。'
    },
    {
        id: 2,
        title: '文章2',
        avater: 'https://tse2-mm.cn.bing.net/th/id/OIP-C.q0Pcs3QZ-TJdZKwT-Jub4AAAAA?w=155&h=155&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        description: '文章内容。'
    },
    {
        id: 3,
        title: '文章3',
        avater: 'https://tse2-mm.cn.bing.net/th/id/OIP-C.qMf5qRUlvZ91ZuaHM_INrgAAAA?w=202&h=202&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        description: '文章内容。'
    },
    {
        id: 4,
        title: '文章4',
        avater: 'https://tse4-mm.cn.bing.net/th/id/OIP-C.gHTn9K0y3HgWt7xyJuR0pQAAAA?w=202&h=202&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        description: '文章内容。'
    },
]

//文章列表
export interface PostProps {
    id: number,
    title: string,
    content: string,
    image?: string,
    createdAt: string,//发布事件
    columnId: number //文章id，因为你点开的文章和你的文章id做匹配
}

export const testProps: PostProps[] = [
    {
        id: 1,
        title: '第一篇',
        content: '内容详情',
        image: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.82_Luxol0IwKNFXLBOLVgAHaE3?w=279&h=183&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        createdAt: '2023-04-10',//发布事件
        columnId: 1
    },
    {
        id: 2,
        title: '第二篇',
        content: '内容详情',
        image: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.hB7Y4siRMgiFeSdqO8IOqQHaE5?w=295&h=195&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        createdAt: '2023-04-11',//发布事件
        columnId: 2
    },
    {
        id: 3,
        title: '第二篇',
        content: '内容详情',
        image: 'https://tse4-mm.cn.bing.net/th/id/OIP-C.2IRCeI7lpFjVDkDwqMseBQHaEo?w=252&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        createdAt: '2023-04-11',//发布事件
        columnId: 3
    },
    {
        id: 4,
        title: '第二篇',
        content: '内容详情',
        image: 'https://tse2-mm.cn.bing.net/th/id/OIP-C.ZhbpGaR_0pqRUQKlDePGoQHaHa?w=159&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        createdAt: '2023-04-11',//发布事件
        columnId: 4
    },
    
]

